Fixes ~ character