updated register reset case