making sure hashmodel has global data for templates