Small fix on attachment