solved problem where it was not possible to get the value false from cfg()