Fixing href bugs