tweaked the way configs accessor works