Fixes multiple instances not working.