Small fix to shpxy in templates