added true conditional to if project.attachments