Fixed a tiny bug that may cause initialization crash.