Fixed view method for templates and upgraded version to 1.1.2