fixed private messages bug when using cli