handlebar template correction