1. fix comments.
2.fix zero division