removing hidden html that was causing php errors