fixed edit multiple permissions