fixed brown bug