add error message when client is not run