[Bugfix] fix a typo that leads to a ReferenceError