remove unused clear string global variable