fixed a relative directory problem