fix raw sequence retrieval