Fixed #f in writing char