fixed cut current dir