fixes a bug introduced when refactoring accessor handling