better version of numfig extension
fixed figure refs in results