A geometric proof of Bautin theorem