fixes function call.