Fixed missing variable initialization