A bug fixed, and update in coding