fixing type spaces