Fixed textWriter and loader