delay len increment after \0 if