fix double rendering bug