Speaking ahead of Sunday's clash against Aston Villa, Moyes said: "I'm speaking to him regularly because he's such a good boy to talk to as well. He wants to listen, he's willing to give feedback and he wants to get better.
"There is no doubt he is going to come back to his best form and I hope we can crack the code before our time runs out, I really do. That's the key because I said to him the other day, you don't get the England manager giving you 30-odd caps and you don't get signed by the best manager in the world if there isn't something there.
"I've also been trying to sign him for three years, that might not mean nothing but certainly with the other two, there has to be something that everybody has seen so we have to crack the code to get him back on it."