fix credentials path