fix another 2.6 incompatibility