fix doctrine2.0 support and remove other engin support