fix parsing partition labels