Take out redis tempalte duplicate end