Fix 'state' for funding loans