small changes to save
small changes to params