fine tune for JDK 1.5 compiler