Fixed small issue on document import