clean code.

1. clean code;
2. fix repost issue.