#03.10.2014 change some in createdocument mechanism