fix adhoc setup