fixed '\0'bugg