fix issue in Lighty for PortMapping