fix issue with future versions of mpromise