when foot surgery is require