cleanup of popup text