fixed problem with encoding only in netbeasn