more fixing, to make it save closer to what i want (not the variables and shit that will mess the state up)