Fixing missing variable init