Fixing initialization bug.