illustrate rs get undefined bug