fixed scaffold creation
fixed scaffold creation tests
fixed scaffold-pages