I second's Nadya's opinion that you're probably calling a function that changes work areas. Make sure you check the OnEntry and OnExit fields for each band, and grouping expressions, and expressions for storing values to variables, as well as any function calls you might have in any bands.