fixed clazz was actually id while requesting targets