dont allow invalid status to be set