framework generator little bug fixed