regime active check, bug fixed