fix calculation of height. remove comment.