fix the missing templates