Fixed some problems adding documents