fix bluebird errors