fixing figures and tables