fixed port? segfaulting when called without arguments, issue #43