Corrected bug - needed to free work-area after use by invalidate command