downgrade to java 1.6 compliance compilation code