R2 object "
legal
" not found