format cleanup for len()