fix some issue with function call