Fixing problem when using multiple