always save before upload. reformat and comments