fixed the path to credentials dir