Corrected except error, fixed none mime type