fixed assert in rend