fixing leader q to write before running current buffer in current ruby