cleanup
refactoring serialize -> put