fix figure does not show