reverted schema detection.
always return the port.