normalize base name