fixing text uploads