fix a bug of skill trigger