fix #563: split prog parts before formating in item's name