fix char literal implementation