fixed render error