fix doctrine orm loading