fixed label bugs