fixed port bug, thanks einsteink! closes #3