change assert for client