fix doctrine problem