Fix for doctransforms