removed unnecessary java 1.7 dependecy