using expander for ~ paths