fix list
correct realisation of single linked list