remove obsolete labels