shrinking befor saving