some modification on link.py and replace tab with four spaces