Fix inplace option
Merge remote-tracking branch 'origin/master'