Fixed one wrongly function call with pointer