fix issue if strpos return 0 position