soem localization errors corrected