fix broken build in 5.0