remove last pair of backticks