pecm update
fixed mistakes in pecm