omfg str.find() return -1 when no pattern is found!