Bug fis: render_template instead of redirec