Fixed bugs with abilities