add and clear up mime types