Fix bugs when multiple command available