fixed java source compatibility