fix listen port problem