fixed save and view