Correct a bug on status state after registration