Fix and test
Merge remote-tracking branch 'origin/master'