custom renderer was being applied globally