Cleaned old ref in html