fixed an issue effected cwd not being the same as the app directory