character bug fix