fixing credential