refactor and fix answer model and showing answer in template