fix height jump issue