fix getting request object