fix too many arguments error