fix base path to json