Update MainClient.java

Added autocorrection