Fixes in function's call