Sudo: bench: command not found error

I got this error when trying to run bench with sudo. Running bench with sudo still works though.