2.7 compatibility issues