java 8 fix try 2