fix overly complicated accessor