revert the text function to it´s original form