fix rds read only issue