fix 5.2 build