fixing labels for figures and tables. Using hyperref for links