fixed a mysql encoding issue