Fix loading from same stream