fixed java7 problem