command pattern correction