fixing ability min value calculation