bug solved, if exercises contain attachments