correct use of strstr