hack to fix euid issue