Nieminen can down wayward Melzer and anchor ATP treble