fix copy of commands
redraw execution area on code convertion