better handling of metadata
manual cleaning of docs