indexof dependency removed