fix .json-files recurse problem