Fix module var issue