fix build for 5.2