modified begin so compressor error displays