fix the strncmp to obey the man description