minor correction of conditional guard