module undefined fix