Removed debug code from tab