removes text after submit