remove button global var