fixing after update java 1.7