make save actually work