octal fixed for string length control
minor fixes for bases