add plot state errors