fixed a serialization bug with arrayable interface