init scaffold bug model