labeliing bug fixed