Fixed list comparsion and version comparsion