remove port code in applog