Fixed R Key Bug