Fixed strlen() to return the right size.