bugfix to get promise-no-chain to work