call correct location of promise
use strict