[fix] port loop fix