fixed pull-image promises