fix bug redirect strange port