bugfix: wrong config loading sequence