fix regression caused by nimsdata refactor