wideband problem

Where is the O2 mounted, how far from the port, how long is the pipe after the O2, do you have any header gaskets leaking?