Fixed the arguments when calling Mime::getType()