bugfix capability checking