fixed segfaulting via access of non existent list item