fix for doctrine proxy classes
merged from remote