fixed typo serialize