fix function argument prototype