error checking on object editor