fix promiseified loading