changed MIME type based on callback