Fixed less 1.7 compatibility problem