small bug when linking from archive