fix credential layout