fix attachement issue in version mybb 1.6.10