state params fix