removed superfluous html and head tags