fixed != check but still broken indexOf