fixed sanitation error (directory separator character was incorrectly being removed)