Fix bug: directory contains space character