fixed the fetch ID to compatible with old version