Error initializing variables