support multiport in main.c