removed debug statement from getcat()