fix wrong .json usage