linq exception fix

might be the solution to the trond problem