fixed undefined index error
[release: 123]