Removed debug statements, fixed typeo