fixing links FROM map to details