change compile version from 1.8 to 1.7