__dirname in init method close #8