fixed contains to indexOf