Bug fix :Click on empty list do not crash program