plotting correction