fix ~ expansion by removing quotes