removed g variable from master.html template, which will disable template support