fix multiple instances