Fix ability not defined