fix entitymanager getter visibility