fix completely broken address calculation for multiple loadfile targets