fix execCommands overflow