fixing mimetype