fixed an accessor bug