fix dynamic credentials load