minor bug fixes
Using only two processes to handle the client