fixed typo on labels method