|#510| +Sandeep| using current scope instead of parent scope for storing rnr