no need to check if there is a mimetype twice