fix under-counting bug. also remove spaces; makes commit messy. :(