fix adhoc loading