edit view and fix function for foldersharing