fix the javalink bug