Minor bugfix with sharing profile