Nsight eclipse is pointing to wrong nvcc path in Ubuntu 16.04

I have successfully installed nsight eclipse through cuda toolkit 10.1. I am able to compile sample cuda programs through command line but facing the error with nvcc path. Eclipse is pointing wrongly to nvcc path. Kindly help me.