fix inifinte loop caused when viewing QC reports from www.ebi.ac.uk URL