fixing folders and rights