Bugfix multiconfig support

This pull requests fixes a multiconfig issue