Fix typos leading to state not being saved