bug fix for incorrect config order