Remove trailing tgt