fixed error with missing argument handling