add indexof to dependencies