something wrong with em
fix entity manager dependency problem