main usage fixes of Q promise library