print config properly