fixed cwd to start directory