fix warning with strpos