Analog ref

I have seen in Atmega's datasheet that analog pin has another purpose.
However I fixed up the problem using another model of op amp.
Thanks!