fix loading ports bug - Server/World switched