fix error with json filename