change getState to use correct constant list