cannot use ~/ in place of home dir