corrected typo in call to getState