whoops I guess the mime parsing was completely wrong before