fix credentials