fixed more errors in client