removed the extra reset