fixes for template - didn't have time to grunt docs due to some problems with my macbook