doc attachment issue