platform fix --> JDK1.7