Fix error of commandLayout