Fix measureBox number issue