fixing path to mime types