fix strpos issue on nestedblocks, php