bug fix of []