fixed problem with xml serialization