changed the template of sub_res.html