Fixed wrong-sized read buffer