fixing the chars issues