fixed 1.7 only code usage