add pretty scanner errors