fix dir separator

Fixed a bug with directory separator.