fix minor bug in template.class
fix bug in action/navbar template snippet
update global settings json file