add load event, fix recursive links