Fix read callback