removing figure tags