Fix text and dataset assignations