fixed utf8 encoding and label positions