change name generated for attachment