fix in doctrine integration