Fixed bug of context in template
Merge pull request #1219 from dyspres/pi_origin

Fixed bug of context in template