Fix bug:
value is undefined