fixed issue with saving but only half