1. update compiler option and fix warning
2. fix bug and update program