use mymemmem instead of strstr to find sub-memory-block (fix this bug)