corrected R9 bug