Added debug statement; corrected fallback type