fix hardcode of clientport in config file