fix broken template