add some status protection