optimize label:
1.remove unnecessary API
2.reduces object-creation and function calls.