strcpy NULL protection. proceed treat after tests