issue #25 tests passing fix

i forget mouse-scroll case (rid is null)!