Fixed bug in which  was not defined.
Fixed missing ending path directory.