fixing gui serialization problem..