Fix local label support