fix credential file path