fixed relative directory problem