footer fix to prevent double loading