fixed compound dataset offset bug