actually use indexOf shim