fixed render issue