Fix shareFolder method