Try to fix strlen bug.