Fixed Mime issues