fix bug list length 0