rebuild nami with Flask pattern
fix config