revert labels to IF conditions (without was buggy)