made project java 7 compatible again