fix typo on response template and redirect