fixes addAttchment

Signed-off-by: Sam Heuck <sam@samheuck.com>