added a rack middle to to display errors