fix function param