fix hide-when json call