fix charactor code