Fix functioncall