fix map generation on csv import