fix null term