fix for capability check