Remove t.max from template