replaced template tag with reverse call in template