fixed a directory problem