fix bug: label may be null