compatibility check with 1.7