fixed: can not compile on java 1.6.