if path is '' or '  '