corrected mis-spelling of app state array