fixxed an issue with weird java 1.8 usage instead of 1.7