again list index error resolved