fix for attachment path