fixed a bug in feat of dexterity calculation