attempted to fix for release versions (failed)... but no longer fails on requiring promise