correction of surface density plot