removes height variable