plugin adjustments for promises