fix? spark serialization problems