bug from attachment attribute