small changes for promise variables