more consistent use of null byte