prevent racy transitions