fix config and regenerate