adding a null check for a static varialbe in pocketpcikupapplication