Fix of spaces in tab id's

Id should not contain spaces. But group name can and often contain spaces inside