revert batch handle code
fix possible bug
clean code
fix jsp bug
Merge pull request #658 from jialinsun/master

revert batch handle code