rewrite plugin on source code style