Remove unneeded labels