Bug in height calcul