remove global app var