SAMBA_log: fix wrong step numbers and trivial spaces