fixed error in entity creation and webmana