fix Promise