Fixes #22 by stripping out port