Fixing bug where nothing saves