bug fixes after simulating asynch reads