cleanup and don't translate if there are no annotations