fixup on analyse problem,to reflect new api changes and auth