bunch of promisify fixes