remove calls to deprecated renderString