Fix bug related to attachements slot