make label conditions nicer