fix yank defines's bug.