fixes render issue