promisify fixes