Fix bug on itemSelector was hardcoded