bug fix: strlen ignore \0