minor fix entityedit