escape ~ with backslash