bug fix - attachments for model inside a module