fixed port args processing