correct current dir