format, no code change
use getHeight() for compatible issue