Removes redundant promise object