handle cobalt.conf bars visibilty