fixing wrong number of arguments