Fix bug with add Target annotation