improve rias plugin