parse ~ in routes