initial render bug fix