Fixed the type of line for mongo_docs