Clearing program to use Gl safely