changed port binding so it won't crash the program