fixed broken clientMain