fixed __dirname bug 2 times