fix sizeLabel insertion and make sure svg filenames are turned into classnames