added eplot survey cleaning code, fixes required