Change ports, fix bug