Change way of getting moduleEntry