delete logging and implemetation about setting remapping role using interation