improve check_rds_events