FIX add hack for badly conditioned QP