updated error message for labels found