Fix for Kryo Serializer