fixed java7 crashing deploy