fixed footer issue, the function already handles the href element for you