Fixed seg fault on client, will try on server