fix schema
save data properly