fixed relative path bug