fixed bug in remove_abilities