tweak promise return