fixed template

Removed Unneccessary end