basic fixes on renderer
further fixes and improvs on renderer