fix promise module loading