drops legacy code
make link relative