duplicated call of doctrine entity manager service