fix ef version problems