Template path bug fix.