fixed port issues