delete entitymanager pt.2