Fix format specifier
Remove unused function

Since translator now uses s*len+s* pair this function is no longer needed.
Fix infinite cycle

Variable `n` is used below in condition `--n >= 0`. As it was unsigned this 
condition was always true.