Fix bug with thumb