fixed some bugs in entity editor