try and avoid some double render errors