Add GATEWAY and pf.
fix multiple sector access.