fix Mimetype instance
improve getters and setters