Fix #160，also with type of number

Fix #160，also with type of number