corrected issue with standalone form in template