added a check for place commands with an invalid number of params