added wait before render setting