Castor oil mixed with water and dish soap will deter moles and voles. They do not like the smell. Castor oil is sold on amazon, there is a link below. I am also experimenting with coffee grounds. It seems to work. Not sure as well as the castor oil.
Amazon.com