Finally fixed SerializerInputStream