fixed the bug in the charecter visualisation