delete space in name of publishprofile