fixed errors in template

Thanks eclipse