fix build for latest version