Ignore spaces when calculating caps + remove debug.