port param fix