fixes for ATTACHMENTSSUBFOLDER