refact getobjlinks header
refact global part2