updated to Java 8 and fixed phase rendering