fixed a possible bug involving NSNumbers and ints