Fix minor bug at read before all is ready