prevent overriding open directory when multiple instances are running