some changes in renderer