fixes ln with target and link inverted