error corection of confiude plugin