fix <a> hook to map