second-order : fixed bug with a hack - max figure warning