fix precmd and postcmd plugin method