Fix typos in state_plugin