improving the buffer of the executeCommand reader