issue#14, running away child
fix misuse of strncmp