fix for the template