quick fix: make promise interface work in windows