fixed bug: supporting multiple labels