fix for taget

resolves issue with onclick and target interference