Save data works vol.2

Also some parameters fixed