fix enabled in doctrine