target: fix output of command "targets"