changed port number in init; fixed tag bug