undoing last change. using isRawData there doesn't seem to always work (got a stack trace)