Fix some offline access bugs.