fixed a directory filepath issue