got rid of a hard-coded mime type