fix directory name
support only string