fixed prefered_state variable
Merge pull request #54 from franklinkim/master

Cannot find a resource for preferred_state