Fixed issue that messed out link urls of html snapshots