Fixed small processing bug