fixed raw data get; wasn't using data offset