fix create_mapping for linkFrom