fetch by last id