fix function call argument order