fixed broken spref access