fixes #662
Merge remote-tracking branch 'origin/next' into next