fix issue in WhenAnyTure