don't override mainModule when start from node-main

related to #371