fixed bad text encoding