fixed an idcead comparison in pp state rendering