jet template modify and solve errors