fixed problem with loan-datastructures