manual cleaning of docs
better handling of metadata