bug fix

[Scaffold] read wrong path, use 'getcwd' instead