Fix figure references