everything works but saving