add multiple configuration support
bugfix