fixed a typo in getting processor count.