fixed template renderer bug, added reload of data when page re-opens