added uid2
fixed port setting