removed global reference used for debugging