Fix error with undefined accessor