fixed getting pending requests