"Common bug fix"

Increasing compile speed. Before fixed, script run 2.8s to compile the
test script. Now it's only need 304ms.