add mime type
zeroing buffer doesn't help