minor clean ups, exception with serialization and removing invalid getter