fix minor data access errors