java 6 fix, probably