fix credential