debug for fetching sequences