small fix for tempalte