It seems that you did something wrong, at least I see you define target_selector two times in your code

You'd better create a ticket with your issue