changed render behavior