a few minor bugs fixed
Merge remote-tracking branch 'origin/master'