fix build with ticket#2