fix ability bug