Fix bug related to midori