fixed compiler warning (rcBuffer is not RCObject)