fix capability errors
Merge remote-tracking branch 'master/master'