Fixed: this.cwd was null because parent constructor was not called