fix state param name