fixed waitqueue