fixed serialization issue in models