mid error implementation
conflict fix