fix broken auto commands