Command correction