remove-last macro