fix read loops... still broken.