Fix Bug not being able to set attachmentBasePath.