fix adhoc commands