Fixed initialize bug