correct bug for client