bugfix app cwd