Why is it not "Pavonem"?
Peacock is the subject of the sentence. You must use the nominative form, pavo.