fix bog and upgrade
Merge remote-tracking branch 'origin/master'