Fix bug about accessor