fixed isNumber

isNumber returns true on boolean instead of numbers